home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1280 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.9 KB

  1. Path: gmrc.gecm.com!newsmasters
  2. From: paul.johnson@gecm.com (Paul Johnson)
  3. Newsgroups: comp.object,comp.software-eng,comp.lang.c++
  4. Subject: Re: Moving from C to C++
  5. Date: 10 Jan 1996 08:56:35 GMT
  6. Organization: GEC-Marconi Research Centre
  7. Message-ID: <4cvv03$1nb@miranda.gmrc.gecm.com>
  8. References: <4cs44p$3pk@ixnews8.ix.netcom.com> <4cucgo$4c0@myst.plaza.ds.adp.com>
  9. NNTP-Posting-Host: polonius.gmrc.gecm.com
  10. X-Newsreader: WinVN 0.99.7
  11.  
  12. In article <4cucgo$4c0@myst.plaza.ds.adp.com>, timh@news says...
  13. > One way to do this
  14. >is to send your guys. . . not to C++ training, but to a Smalltalk class
  15. >where they won't be tripped-up by what they already know about C, and where
  16. >they are forced to work in a pure OO setting. 
  17.  
  18. I'd second this, except to recommend Eiffel over Smalltalk.  Eiffel has
  19. types for variables (like C++) whereas Smalltalk has types only for objects.
  20. Eiffel also has a built-in language for defining the semantics of interfaces
  21. as well as their syntax.  This emphasises the behaviour and encapsulation
  22. provided by your classes, and so promotes good design from the beginning.
  23.  
  24. In fact, after programming in Eiffel for a while, you might prefer it to
  25. C++.  Either way, the design-level concepts in Eiffel are important to good
  26. OO programming, and hence Eiffel is a good way to introduce structured coders
  27. to OO thinking.
  28.  
  29. BTW, don't assume that your training costs are proportional to the number of
  30. languages: they are not.  The main cost (as others have noted) is going to 
  31. be getting your programmers and designers thinking objects.  Learning syntax
  32. is easy in comparison.  Anyway, both Eiffel and Smalltalk are MUCH simpler
  33. than C++.
  34.  
  35. Paul.
  36.  
  37. -- 
  38. Paul Johnson            | GEC-Marconi Ltd is not responsible for my opinions. |
  39. +44 1245 473331 ext 2245+-----------+-----------------------------------------+
  40. Work: <paul.johnson@gmrc.gecm.com>  | You are lost in a twisty maze of little
  41. Home: <Paul@treetop.demon.co.uk>    | standards, all different.
  42.  
  43.